home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 December / MACPOWER-1997-12.ISO.7z / MACPOWER-1997-12.ISO / AMUG / PROGRAMMING / Raven 1.2.sit / Raven 1.2 / Source / Foundation / Common / ZConstants.cpp < prev    next >
Text File  |  1997-08-23  |  4KB  |  112 lines

  1. /*
  2.  *  File:       ZConstants.cpp
  3.  *  Summary:       Various constants.
  4.  *  Written by: Jesse Jones
  5.  *
  6.  *  Copyright ゥ 1996-1997 Jesse Jones. 
  7.  *    For conditions of distribution and use, see copyright notice in ZTypes.h  
  8.  *
  9.  *  Change History (most recent first):    
  10.  *
  11.  *         <5>     8/22/97    JDJ        Added kShowInvalidationsCmd.
  12.  *         <4>     6/15/97    JDJ        Added kHelpCmd.
  13.  *         <3>     8/15/97    JDJ        Added kSaveAllCmd and kJunkAllCmd.
  14.  *         <2>     8/06/97    JDJ        Removed kEmptyString, kEmptyPascalString, and kUnknownString.
  15.  *         <1>    10/16/96    JDJ        Created
  16.  */
  17.  
  18. #include <ZConstants.h>
  19.  
  20.  
  21. // ===================================================================================
  22. //    Messages
  23. // ===================================================================================
  24. const string kNothingMessage    = "nothing";
  25.  
  26. const string kOKMessage            = "ok";
  27. const string kCancelMessage        = "cancel";
  28.  
  29.     
  30. // ===================================================================================
  31. //    Commands
  32. // ===================================================================================
  33. const MenuCommand kNothingCmd            = "nothing";
  34. const MenuCommand kAbortCmd                = "abort";                // Command-period
  35. const MenuCommand kHelpCmd                = "help";
  36.  
  37. const MenuCommand kAboutCmd                = "about";                // About Menu
  38. const MenuCommand kDACmd                = "da";        
  39.  
  40. const MenuCommand kNewCmd                = "new";                // File Menu
  41. const MenuCommand kOpenCmd                = "open";
  42. const MenuCommand kCloseCmd                = "close";
  43. const MenuCommand kCloseAllCmd            = "close all";
  44. const MenuCommand kJunkAllCmd            = "junk all";
  45. const MenuCommand kSaveCmd                = "save";
  46. const MenuCommand kSaveAllCmd            = "save all";
  47. const MenuCommand kSaveAsCmd            = "save as";
  48. const MenuCommand kRevertCmd            = "revert";
  49. const MenuCommand kPageSetupCmd            = "page setup";
  50. const MenuCommand kPrintCmd                = "print";
  51. const MenuCommand kPrintOneCmd            = "print one";
  52. const MenuCommand kQuitCmd                = "quit";
  53. const MenuCommand kSaveCopyAsCmd        = "save copy as";
  54.  
  55. const MenuCommand kUndoCmd                = "undo";                 // Edit Menu
  56. const MenuCommand kRedoCmd                = "redo";     
  57. const MenuCommand kCutCmd                = "cut";
  58. const MenuCommand kCopyCmd                = "copy";
  59. const MenuCommand kPasteCmd                = "paste";
  60. const MenuCommand kClearCmd                = "clear";
  61. const MenuCommand kSelectAllCmd            = "select all";
  62. const MenuCommand kShowClipboardCmd        = "show clipboard";
  63.  
  64. const MenuCommand kStackWindowCmd        = "stack windows";        // Window menu
  65. const MenuCommand kTileWindowCmd        = "tile windows";
  66. const MenuCommand kNextWindowCmd        = "next window";
  67.  
  68. const MenuCommand kFontMenuCmd            = "font";                // Sub-menus
  69. const MenuCommand kSizeMenuCmd            = "size";
  70. const MenuCommand kStyleMenuCmd            = "style";
  71.  
  72. const MenuCommand kFontLargerCmd        = "font larger";         // Size menu commands
  73. const MenuCommand kFontSmallerCmd        = "font smaller";
  74. const MenuCommand kFontOtherCmd            = "font other";
  75.  
  76. const MenuCommand kPlainCmd                = "plain";                 // Style menu commands
  77. const MenuCommand kBoldCmd                = "bold";
  78. const MenuCommand kItalicCmd            = "italic";
  79. const MenuCommand kUnderlineCmd            = "underline";
  80. const MenuCommand kOutlineCmd            = "outline";
  81. const MenuCommand kShadowCmd            = "shadow";
  82. const MenuCommand kCondenseCmd            = "condense";
  83. const MenuCommand kExtendCmd            = "extend";
  84.  
  85. const MenuCommand kJustifyDefaultCmd    = "justify default";    // Text justification
  86. const MenuCommand kJustifyLeftCmd        = "justify left";
  87. const MenuCommand kJustifyCenterCmd        = "justify center";
  88. const MenuCommand kJustifyRightCmd        = "justify right";
  89. const MenuCommand kJustifyFullCmd        = "justify full";
  90.  
  91. #if DEBUG
  92. const MenuCommand kTraceFlowCmd            = "traceflow";            // Debugging commands
  93. const MenuCommand kUnitTestCmd            = "unit tests";            
  94.  
  95. const MenuCommand kMACSBUGCmd            = "macsbug";
  96. const MenuCommand kIntenseDebugCmd        = "intense debugging";
  97. const MenuCommand kHeapCheckCmd            = "heap check";
  98. const MenuCommand kASSERTCmd            = "assert";
  99. const MenuCommand kShowHeapCmd            = "show heap";
  100. const MenuCommand kEatMemoryCmd            = "eat memory";
  101. const MenuCommand kPurgeMemoryCmd        = "purge memory";
  102. const MenuCommand kTRACEToSIOUXCmd        = "trace to sioux";
  103. const MenuCommand kTRACEToFileCmd        = "trace to file";
  104. const MenuCommand kTRACEAllToFileCmd    = "trace all to file";
  105. const MenuCommand kMonkeyCmd            = "monkey";
  106. const MenuCommand kDoEveryUnitTestCmd    = "do every unit test";
  107. const MenuCommand kShowSIOUXCmd            = "show sioux";
  108. const MenuCommand kShowInvalidationsCmd    = "show invalidations";
  109. const MenuCommand kFreeDeletedBlocksCmd    = "free deleted blocks";
  110. const MenuCommand kDumpObjectHeapCmd    = "dump object heap";
  111. #endif
  112.